<div id="b-header">
    <div class="wrap">
        <div class="brand">
            <a href="#/">
                <img src="__ASSERTS__/res/img/logo.png" />
                <?php echo tpx_config_get('home_title'); ?>
            </a>
        </div>
        <div class="tools">
            <if condition="!tpx_config_get('wordpress_syncer_enable') && !tpx_config_get('cas_login_enable',false)">
            <a href="#/login">登录</a>
            <a href="#/register">注册</a>
            </if>
        </div>
    </div>
</div>